  function debounce(func, timeout) {
  if (this.time) clearTimeout(this.time)
  this.time = setTimeout(() => {
      func()
  }, timeout);
}
module.exports={
  debounce:debounce
}